package com.tracesystem.model;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Kevin Martin
 * @since 2022-03-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("i_issue_user")
public class IssueUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "USER_ID", type = IdType.AUTO)
    private Integer userId;

    @TableField("PASSWORD")
    private String password;

    @TableField("USERNAME")
    private String username;
    @TableField(updateStrategy = FieldStrategy.IGNORED, value = "ROLE_ID")
    private Integer roleId;

    @TableField("USER_TEL")
    private String userTel;

    @TableField("USER_EMAIL")
    private String userEmail;


}
